<?php

Route::set('default', '(<controller>(/<action>(/<id>)))')
    ->defaults(array(
    'controller' => 'main',
    'action'     => 'index',
));